import service from '../utils/axios.js'

	
const clientApi ={
	//修改密码
	 changePwd(params){
	    return service({
	        url:'user/changePwd',
	        method: 'post',
	        data: params,
	    });
	},
	//银行卡变更
 changeBankInfo(params){
	    return service({
	        url:'user/changeBankInfo',
	        method: 'post',
	        data: params,
	    });
	},
		//帮助中心&诉讼保障
		helpCenterPost(params){
			return service({
				url:'news/helpCenter',
				method: 'post',
				data: params,
			});
		},
			//修改交易密码
			changePayPwd(params){
				return service({
					url:'user/changePayPwd',
					method: 'post',
					data: params,
				});
			},
				//获取银行卡信息
				bankInfo(params){
					return service({
						url:'user/getBankInfo',
						method: 'post',
						data: params,
					});
				},
}
export default clientApi